home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: HELP: UNIX's directory functions.
- Date: 22 Feb 1996 11:38:56 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4gigogINN8nq@keats.ugrad.cs.ubc.ca>
- References: <Pine.ULT.3.91.960217002153.21669B-100000@hertz.njit.edu> <824598921snz@genesis.demon.co.uk>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <824598921snz@genesis.demon.co.uk>,
- Lawrence Kirby <fred@genesis.demon.co.uk> wrote:
- >In article <Pine.ULT.3.91.960217002153.21669B-100000@hertz.njit.edu>
- > dxp8108@hertz.njit.edu "Dharmesh Patel" writes:
- >
- >>
- >>Hi all!
- >>
- >>I need help with couple of things in C. I need to know how the functions
- >>opendir, readdir, closedir, and rewinddir work. I also need to know the
- >>elements of the struct dirent.
- >
- >Unfortunately these are not defined in C.
- >
- >>The reason for this request is that I have to write a program that
- >>simulates the unix command 'pwd', the hard way.
- >
- >They are Unix/POSIX defined functions and the place to ask about them
- >is comp.unix.programmer.
-
- ...and I might add that the revered "K&R" book does cover the basic UNIX
- programming interface, including directory functions, stat() and other goodies.
-
- It sounds like you don't have this book. Shame! :)
- --
-
-